package connectionpool;

/**
 * @author amahmood
 * 
 */
public interface ConnectionPool
{
    /**
     * @return
     * @throws java.sql.SQLException
     */
    java.sql.Connection getConnection() throws java.sql.SQLException;

    /**
     * @param con
     * @throws java.sql.SQLException
     */
    void releaseConnection(java.sql.Connection con) throws java.sql.SQLException;
}
